using System;
using L=Science.Physics.GeneralPhysics;

namespace Serway.Chapter05
{
	/// <summary>
	/// Example13: The sliding Hockey puck
	/// A hockey puck on a frozen pond is given an initial
	/// speed of 20.0 m/sec. If the puck always remains on the
	/// ice and slides 115 m before coming to rest, determine
	/// the coefficient of kinetic friction between the puck and ice.
	/// \mu_k = 0.177
	/// </summary>
	public class Example13
	{
		public Example13()
		{
		}
		private string result;
		public string Result
		{
			get{return result;}
		}
		public void Compute()
		{
			// mu * mg * d = 1/2*m*v^2
			// mu = 1/2*v^2/(gd)
			result += Convert.ToString(0.5*20.0*20.0
				/L.Constant.AccelerationOfGravity/115.0);
		}
	}
}
